package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IGiftListDao;
import com.guoxue.model.GiftList;
import com.guoxue.model.GiveAwayGiftList;
import com.guoxue.service.IGiftListService;
@Service
public class GiftListServiceImpl implements IGiftListService{
	
	
	@Resource
	private IGiftListDao  iGiftListDao;
	
	public List<GiftList> getGiftList(Integer giveUid,Integer tapesId) {
		return iGiftListDao.getGiftList(giveUid,tapesId);
	}

	@Override
	public GiftList getGift(Integer giveUid, Integer tapesId) {
		return iGiftListDao.getGift(giveUid, tapesId);
	}

	@Override
	public List<GiveAwayGiftList> getGiveAwayGiftList(Integer uid, Integer tapesId, Integer start, Integer total) {
		return iGiftListDao.getGiveAwayGiftList(uid, tapesId, start, total);
	}

	@Override
	public GiveAwayGiftList getGiveAwayGift(Integer uid, Integer tapesId) {
		return iGiftListDao.getGiveAwayGift(uid, tapesId);
	}

	@Override
	public List<GiveAwayGiftList> getGiveAwayGiftList(Integer userId, Integer tapesId, Integer start, Integer total,
			String date) {
		return iGiftListDao.getGiveAwayGiftList(userId, tapesId, start, total,date);
	}

}
